<?php
namespace app\index\model;

use think\Model;

class D extends Model
{
    public function getLists( $page, $limit, $where)
    {
        return $this -> where( $where ) -> paginate( $limit, false, [ 'page' => $page ]);
    }
    public function Del( $id )
    {
        return $this -> where( 'id', $id ) ->delete();
    }


}